﻿namespace Sustainalytics.Utils
{
    public enum ErrorCodes
    {
        Generic = -1,
        InvalidEmailAddress = 1005,
        InactiveAccount = 1006,
        ExpiredPassword = 1007,
        ExpiredTemporaryKey = 1008,
        TemporaryKeyNoLongerValid = 1009,
        CriticalErrorValidatingCredentials = 1010,
        ErrorResetingPassword = 1011,
        ErrorChangingPassword = 1012,
        ErrorRetrievingUsers = 1013,
        ErrorRetrievingAccounts = 1014,
        ErrorRetrievingSelectedUser = 1015,
        ErrorRetrievingSelectedAccount = 1016,
        ErrorGettingUserById = 1017,
        OperationRequiresAuthentication = 1018,
        ErrorNotifyingUserInactive = 1019,
        ErrorEditIpAuthenticationData = 1020,
        ErrorEditIpAuthenticationDataIpOverlapping = 1021,

        //security
        AuthorizationFailed = 3000,

        //screening tool
        ScreeningTool_InvalidFilter = 4000,

        ScreeningTool_FilterDuplicatePrivateName = 4001,
        ScreeningTool_FilterDuplicateSharedName = 4002,
        ScreeningTool_FilterEmptyName = 4003,
        ScreeningTool_LoadingCriteriaTabs = 4004,
        ScreeningTool_CriteriaTypeNotExisting = 4005,

        //claims
        DataFileFormatError = 10000
    }
}
